using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace ihm
{
    public partial class FenetreErreur : Form
    {

        List<Erreur> listErreur;
        ColumnHeader colHeadErr;
        bool ouverte;
        public FenetreErreur()
        {
            InitializeComponent();
            this.listViewErreurs.View = View.Details;
            colHeadErr = this.listViewErreurs.Columns.Add("Machine", 110, HorizontalAlignment.Left);
            colHeadErr = this.listViewErreurs.Columns.Add("Etat", 80, HorizontalAlignment.Left);
            listViewErreurs.GridLines = true;
            this.listErreur = new List<Erreur>();
            ouverture = false;
        }

        public void ajouterErreur(Erreur err)
        {
            this.listErreur.Add(err);
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void radioButton2_CheckedChanged(object sender, EventArgs e)
        {

        }

        private void listViewErreurs_SelectedIndexChanged(object sender, EventArgs e)
        {

        }
    }
}